<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>404</title>
    <style type="text/css">
        p,h2 { margin:0; padding:0;}
        .tip_div {margin:100px auto;}
        .tip_div img {margin:15px auto;display: block;}
        .tip_div .font-bold {font-weight:bold;color: #fd002b;text-align: center;}
        .tip_div .error-desc {text-align: center;line-height:30px;height:30px;color:#555;}
        .tip_div .wait {text-align: center;line-height:30px;height:30px;margin-top:10px;font-size: 18px;}
    </style>
</head>
<body style="background:#e8e8e8;margin:0;padding: 0;">
<div class="tip_div">
    <img src="__PUBLIC__/Admin/static/images/error_icon.png"/>
    <h2 class="font-bold"><?php echo(strip_tags($error));?></h2>
    <p class="error-desc">抱歉，页面好像去火星了~</p>
    <p class="wait">
        页面自动 <a id="href" href="<?php echo($jumpUrl);?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond);?></b>
    </p>
</div>
</body>
</html>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            }
        }, 1000);
    })();
</script>